/*  
* Copyright (c) 2010, James Daniello
* This project is licensed under the 'New BSD' license.
* The full text of the license can be found in the root
* directory under the filename "LICENSE"
*/
package src.engine;


/**
* This is a general purpose global class for calling a dice roll
*/
public class PICAIUDice {
  
  /**
  * Rolls a 'sides'-sided die
  */
  public static int roll(int sides){
    return (int)(Math.random()*sides)+1;
  }

}